.page-content {
  padding-bottom: 100px;
}

/* 整体背景 */
.service-container {
  background: #fff;
  min-height: 100vh;
}

/* 顶部标题栏 */
.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32rpx 24rpx 12rpx 24rpx;
  background: #fff;
}
.service-title {
  font-size: 38rpx;
  color: #222;
  font-weight: bold;
}
.service-header-icons {
  display: flex;
  align-items: center;
}
.service-header-dot {
  width: 16rpx;
  height: 16rpx;
  background: #ff2d2d;
  border-radius: 50%;
  margin-right: 24rpx;
}
.service-header-more {
  font-size: 40rpx;
  color: #888;
  font-weight: bold;
}

/* 功能Tab栏 */
.service-func-tabs {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0 0 12rpx 0;
  background: #fff;
  overflow-x: auto;
  border-bottom: 12rpx solid #f5f5f5;
}
.service-func-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 32rpx 0 0;
  min-width: 120rpx;
  position: relative;
}
.service-func-tab:last-child {
  margin-right: 0;
}
.service-func-icon-box {
  position: relative;
  width: 72rpx;
  height: 72rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8rpx;
}
.service-func-icon {
  width: 72rpx;
  height: 72rpx;
  border-radius: 24rpx;
  background: #f5f5f5;
}
.service-func-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 28rpx;
  height: 28rpx;
  background: #ff2d2d;
  color: #fff;
  font-size: 20rpx;
  border-radius: 16rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8rpx;
}
.service-func-label {
  font-size: 26rpx;
  color: #222;
  margin-bottom: 2rpx;
}
.service-func-tab.active .service-func-icon {
  background: #ff2d2d;
  box-shadow: 0 4rpx 16rpx rgba(255,45,45,0.08);
}
.service-func-tab.active .service-func-label {
  color: #ff2d2d;
  font-weight: bold;
}
.service-func-desc {
  font-size: 20rpx;
  color: #fff;
  background: #222;
  border-radius: 16rpx;
  padding: 2rpx 12rpx;
  margin-top: 4rpx;
  max-width: 120rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 消息分组标题 */
.service-msg-group-title {
  display: flex;
  align-items: center;
  padding: 18rpx 24rpx 0 24rpx;
  color: #888;
  font-size: 24rpx;
  font-weight: 400;
}
.service-msg-group-count {
  background: #222;
  color: #fff;
  font-size: 20rpx;
  border-radius: 16rpx;
  padding: 0 10rpx;
  margin-left: 12rpx;
}

/* 消息列表 */
.service-msg-group-list {
  background: #fff;
}
.service-msg-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 28rpx 24rpx 18rpx 24rpx;
  border-bottom: 1px solid #f5f5f5;
  background: #fff;
}
.service-msg-avatar {
  width: 72rpx;
  height: 72rpx;
  border-radius: 16rpx;
  background: #f5f5f5;
  margin-right: 20rpx;
  font-size: 26rpx;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  overflow: hidden;
}
.service-msg-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service-msg-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.service-msg-name {
  font-size: 28rpx;
  color: #fff;
  color: #222;
  font-weight: 500;
  margin-right: 12rpx;
  max-width: 340rpx;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-msg-official {
  font-size: 20rpx;
  color: #fff;
  background: #888;
  border-radius: 8rpx;
  padding: 0 8rpx;
  margin-right: 8rpx;
}
.service-msg-time {
  font-size: 22rpx;
  color: #888;
  margin-left: 12rpx;
  min-width: 120rpx;
  text-align: right;
}
.service-msg-desc {
  font-size: 24rpx;
  color: #888;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-msg-unread {
  min-width: 28rpx;
  height: 28rpx;
  background: #ff2d2d;
  color: #fff;
  font-size: 20rpx;
  border-radius: 16rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 16rpx;
  padding: 0 8rpx;
}
